//
//  LearningModel.h
//  LiuHeBao
//
//  Created by zr on 2018/8/23.
//  Copyright © 2018年 zr. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface LearningModel : NSObject

@property (nonatomic, copy)NSString * title;
@property (nonatomic, copy)NSString * ctime;
@property (nonatomic, copy)NSString * content;
@property (nonatomic, copy)NSString * images;
@property (nonatomic, copy)NSString * ID;
@property (nonatomic, copy)NSString * read;


//KVC
+(instancetype)modelWithDictionary:(NSDictionary *)dic;

//访问网络
+(void)learningModelWithType:(NSString *)type WithSucess:(void(^)(NSArray<LearningModel *> *array))sucessBlock error:(void(^)(void))errorBlock;

@end
